<?php

namespace App\Controller;
use Think\Controller;
header('content-type:text/html;charset=utf-8');
class BaseController extends Controller{

    protected $userInfo;

    public function __construct()
    {
        $userInfo = decode_token();

        $this->userInfo = empty($userInfo) ? "" : (object)$userInfo;
    }
	
}


?>